/**
* 
* ====================================================================
*
* @author apov <apov@ymail.com>
*/ 
#pragma once

#include "BaseDefine.h"
#include <Work.h>
#include <Thread.h>

/**
* @class Network_IOListener
*  - 
*/
class NetworkSession;
class Network_IOListener : public CThread{
public:
	virtual bool initialize( unsigned int event_size, int port, int back_log ) = 0;		
	virtual bool registerSession( NetworkSession* session ) = 0;
	virtual bool unregisterSession( NetworkSession* session ) = 0;
	virtual int ioListener_process() = 0;

	Network_IOListener(){}
	virtual ~Network_IOListener(){}

protected:		

private:
};
